package io.zhoujie.modules.app.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.google.gson.JsonObject;
import io.zhoujie.modules.app.entity.AppReplyEntity;

import java.util.List;
import java.util.Map;

public interface AppReplyService extends IService<AppReplyEntity> {


    List<AppReplyEntity> selectReplyList(AppReplyEntity appReplyEntity);

    void insertReply(AppReplyEntity appReplyEntity);

    List<JSONObject> listReply(Integer postId);

    AppReplyEntity selectReplyByID(Integer id);

    int insertReplys(Map<String, Object> list);

    int setTop(Map<String, Object> list);
}
